// 本地 3个操作 - 存储/获取/删除

const HMTT_USER_ID = 'HMTT_USER_ID'
export const setUserId = (val) => localStorage.setItem(HMTT_USER_ID, JSON.stringify(val))||[]
export const getUserId = () => JSON.parse(localStorage.getItem(HMTT_USER_ID))||[]
export const removeUserId = () => localStorage.removeItem(HMTT_USER_ID)